@import './varible.less';
.search{
    padding: @padd;
    width: 100%;
    .top{
        display: flex;
        height: 40px;
        border-bottom: 1px solid black;
        align-items: center;
        position: relative;
        .back{
            position: absolute;
            left: 10px;
            width: 15px;
            height: 15px;
            border-left: 3px solid @bdColor;
            border-top: 3px solid @bdColor;
            transform: rotate(-45deg);
        }
        .top-title{
            margin: 0 auto;
            color: @Color;
            font-size: 24px;
        }
    }
    .middle{
        margin-top: 10px;
        width: 100%;
        // border-bottom: 1px solid black;
        display: flex;
        .search_inp{
            width: 85%;
            height: 30px;
            border: 1px solid black;
            display: flex;
            align-items: center;
            border-radius: 15px;
            .icon{
                display: inline-block;
                width: 25px;
                height: 25px;
                margin-left: 5px;
                background-image: url(../images/search.png);
                background-size: cover;
            }
            .inp{
                width: calc(100% - 45px);
                height: 25px;
                padding-left: 10px;
            }
        }
        .btn{
            font-size: 18px;
            color: #000;
            background-color: transparent;
            font-weight: bolder;
            width: 15%;
            height: 30px;
            
        }
    }   
    .bottom{
        margin-top: 20px;
        width: 100%;
        .hot_title{
            font-size: 16px;
            color: red;
            font-weight: 400;
            margin-bottom: 10px;
        }
        .hot{
            width: 90%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            font-size: 14px;
            .hot_left{
                .hot_num{
                    margin-right: 10px;
                    color: gray;
                }
            }
            .hot_right{
                .hot_look{
                    color: gray;
                }
            }
        }
        .hott:nth-child(2){
            .hot_left{
                .hot_num{
                    color: #fa3a2f;
                }
                .hot_text{
                    color: #fa3a2f;
                }
            }
            .hot_right{
                .hot_look{
                    color: #fa3a2f;
                }
            }
        }
        .hott:nth-child(3){
            .hot_left{
                .hot_num{
                    color: #fb531c;
                }
                .hot_text{
                    color: #fb531c;
                }
            }
            .hot_right{
                .hot_look{
                    color: #fb531c;
                }
            }
        }
        .hott:nth-child(4){
            .hot_left{
                .hot_num{
                    color: #f58833;
                }
                .hot_text{
                    color: #f58833;
                }
            }
            .hot_right{
                .hot_look{
                    color: #f58833;
                }
            }
        }
        .search_title{
            margin-bottom: 20px;
            font-size: 16px;
        }
        .search_boxs{
            display: flex;
            flex-wrap: wrap;
            .search_box{
                width: calc((100% - 10px) / 3);
                margin: 0 5px 5px 0;
                .search_img{
                    width: 100%;
                    height: 150px;
                    box-sizing: border-box;
                    border-radius: 10px;
                }
                .search_text{
                    h3{
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow:ellipsis;
                        margin-top: 10px;
                        margin-bottom: 5px;
                    }
                    p{
                        color: gray;
                        margin-bottom: 5px;
                    }
                }
            }
        }
        .search_box:nth-child(3n){
            margin-right: 0px;
        }
    }
}